import request from '@/utils/request'

// 查询井筒信息列表
export function listCsWellInfo(query) {
    return request({
        url: '/mine/csWellInfo/list',
        method: 'get',
        params: query
    })
}

// 查询井筒信息详细
export function getCsWellInfo(id) {
    return request({
        url: '/mine/csWellInfo/' + id,
        method: 'get'
    })
}

// 新增井筒信息
export function addCsWellInfo(data) {
    return request({
        url: '/mine/csWellInfo',
        method: 'post',
        data: data
    })
}

// 修改井筒信息
export function updateCsWellInfo(data) {
    return request({
        url: '/mine/csWellInfo',
        method: 'put',
        data: data
    })
}

// 删除井筒信息
export function delCsWellInfo(id) {
    return request({
        url: '/mine/csWellInfo/' + id,
        method: 'delete'
    })
}
